viewport: Implement clipping for picking
authorBenjamin Otte <otte@redhat.com>
Sun, 5 Nov 2017 06:17:36 +0000 (07:17 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 5 Nov 2017 06:19:22 +0000 (07:19 +0100)
commit73077c4e904675be56b0b7c2e0f6ad4ebec3c3e6
tree50b020b35fd6e01066fcc0ded875b820e29616fc
parentb3f69c130ed092fb62bdc2d5e0082b53acb637cd
viewport: Implement clipping for picking

This is necessary because picking is no longer automatically constrained
to a widget's box. So all clipping widgets need to constrain their
clipping, too.

This patch does that for GtkViewport only.
gtk/gtkviewport.c